Change in openvpn[master]: Add bracket in fingerprint message and do not warn about missing veri...
A message that is not in the archive (sent off-list or not yet received): gerrit.1711123201000.Ia73d53002f4ba2658af18c17cce1b68f79de5781@...2715...
Attention is currently required from: flichtenheld.
Hello flichtenheld,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/546?usp=email
to review the following change.
Change subject: Add bracket in fingerprint message and do not warn about missing verification
......................................................................
Add bracket in fingerprint message and do not warn about missing verification
Change-Id: Ia73d53002f4ba2658af18c17cce1b68f79de5781
---
M src/openvpn/init.c
M src/openvpn/ssl_verify.c
2 files changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/46/546/1
src/openvpn/init.c +2 -1
@@ -3594,7 +3594,8 @@ && !o->tls_verify && o->verify_x509_type == VERIFY_X509_NONE && !(o->ns_cert_type & NS_CERT_CHECK_SERVER) - && !o->remote_cert_eku) + && !o->remote_cert_eku + && !(o->verify_hash_depth ==0 && o->verify_hash)) {msg (M_WARN ,"WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info." ); }
src/openvpn/ssl_verify.c +2 -2
@@ -718,8 +718,8 @@const char *hex_fp =format_hex_ex (BPTR (&cert_fp),BLEN (&cert_fp),0 ,1 ,":" , &gc);msg (D_TLS_ERRORS ,"TLS Error: --tls-verify/--peer-fingerprint" -"certificate hash verification failed. (got " -"fingerprint: %s" , hex_fp); +"certificate hash verification failed. (got certificate " +"fingerprint: %s)" , hex_fp); goto cleanup; } }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/546?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia73d53002f4ba2658af18c17cce1b68f79de5781
Gerrit-Change-Number: 546
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newchange
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/546?usp=email )
Change subject: Add bracket in fingerprint message and do not warn about missing verification
......................................................................
Patch Set 1:
(1 comment)
File src/openvpn/init.c:
http://gerrit.openvpn.net/c/openvpn/+/546/comment/7e08d333_df007281 :
PS1, Line 3598: && !(o->verify_hash_depth ==0 && o->verify_hash))
why only with verify_hash_depth == 0? --verify-hash should not count?
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/546?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia73d53002f4ba2658af18c17cce1b68f79de5781
Gerrit-Change-Number: 546
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Fri, 22 Mar 2024 17:46:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: flichtenheld.
plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/546?usp=email )
Change subject: Add bracket in fingerprint message and do not warn about missing verification
......................................................................
Patch Set 1:
(1 comment)
File src/openvpn/init.c:
http://gerrit.openvpn.net/c/openvpn/+/546/comment/715e408c_54ef637b :
PS1, Line 3598: && !(o->verify_hash_depth ==0 && o->verify_hash))
Quoted 1 line
why only with
verify_hash_depth== 0? --verify-hash should not count?
verify-hash does only verify the hash on a CA/intermediate CA, so it is an more a restriction to --ca rather than actually checking if the peer is using a proper certificate.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/546?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia73d53002f4ba2658af18c17cce1b68f79de5781
Gerrit-Change-Number: 546
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Fri, 22 Mar 2024 18:07:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <[email protected]...>
Gerrit-MessageType: comment
Attention is currently required from: flichtenheld, plaisthos.
ordex has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/546?usp=email )
Change subject: Add bracket in fingerprint message and do not warn about missing verification
......................................................................
Patch Set 1:
(1 comment)
File src/openvpn/init.c:
http://gerrit.openvpn.net/c/openvpn/+/546/comment/07b8605a_ec110767 :
PS1, Line 3598: && !(o->verify_hash_depth ==0 && o->verify_hash))
==0 should be == 0
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/546?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia73d53002f4ba2658af18c17cce1b68f79de5781
Gerrit-Change-Number: 546
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-CC: ordex <[email protected]...>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Fri, 22 Mar 2024 20:07:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/546?usp=email )
Change subject: Add bracket in fingerprint message and do not warn about missing verification
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
File src/openvpn/init.c:
http://gerrit.openvpn.net/c/openvpn/+/546/comment/bb7e46be_e6b178c9 :
PS1, Line 3598: && !(o->verify_hash_depth ==0 && o->verify_hash))
Quoted 1 line
verify-hash does only verify the hash on a CA/intermediate CA, so it is an more a restriction to --c […]
Acknowledged
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/546?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia73d53002f4ba2658af18c17cce1b68f79de5781
Gerrit-Change-Number: 546
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-CC: ordex <[email protected]...>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Mon, 25 Mar 2024 12:44:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: plaisthos <[email protected]...>
Comment-In-Reply-To: flichtenheld <[email protected]...>
Gerrit-MessageType: comment
PATCH 1/1 Add bracket in fingerprint message and do not warn about missing verification
In reply to a message not in the archiveFrom: Arne Schwabe <[email protected]...>
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/546
This mail reflects revision 1 of this Change.
Signed-off-by line for the author was added as per our policy.
Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>
Note: Missing whitespace added for submission.
src/openvpn/init.c +2 -1
@@ -3594,7 +3594,8 @@ && !o->tls_verify && o->verify_x509_type == VERIFY_X509_NONE && !(o->ns_cert_type & NS_CERT_CHECK_SERVER) - && !o->remote_cert_eku) + && !o->remote_cert_eku + && !(o->verify_hash_depth == 0 && o->verify_hash)) {msg (M_WARN ,"WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info." ); }
src/openvpn/ssl_verify.c +2 -2
@@ -718,8 +718,8 @@const char *hex_fp =format_hex_ex (BPTR (&cert_fp),BLEN (&cert_fp),0 ,1 ,":" , &gc);msg (D_TLS_ERRORS ,"TLS Error: --tls-verify/--peer-fingerprint" -"certificate hash verification failed. (got " -"fingerprint: %s" , hex_fp); +"certificate hash verification failed. (got certificate " +"fingerprint: %s)" , hex_fp); goto cleanup; } }
[Openvpn-devel] [PATCH applied] Re: Add bracket in fingerprint message and do not warn about missing verification
Added the Github reference to #516
Your patch has been applied to the master and release/2.6 branch (bugfix).
commit 4b95656536be1f402a55ef5dffe140fa78e7eb51 (master) commit e36359aa7e5193ad002768e90ae660896a5a0fa6 (release/2.6)
Author: Arne Schwabe Date: Tue Mar 26 11:38:53 2024 +0100
Add bracket in fingerprint message and do not warn about missing verification
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Frank Lichtenheld <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg28474.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#2) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/546?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: Add bracket in fingerprint message and do not warn about missing verification
......................................................................
Add bracket in fingerprint message and do not warn about missing verification
Github: fixes OpenVPN/openvpn#516
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg28474.html
---
M src/openvpn/init.c
M src/openvpn/ssl_verify.c
2 files changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/46/546/2
src/openvpn/init.c +2 -1
@@ -3594,7 +3594,8 @@ && !o->tls_verify && o->verify_x509_type == VERIFY_X509_NONE && !(o->ns_cert_type & NS_CERT_CHECK_SERVER) - && !o->remote_cert_eku) + && !o->remote_cert_eku + && !(o->verify_hash_depth == 0 && o->verify_hash)) {msg (M_WARN ,"WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info." ); }
src/openvpn/ssl_verify.c +2 -2
@@ -718,8 +718,8 @@const char *hex_fp =format_hex_ex (BPTR (&cert_fp),BLEN (&cert_fp),0 ,1 ,":" , &gc);msg (D_TLS_ERRORS ,"TLS Error: --tls-verify/--peer-fingerprint" -"certificate hash verification failed. (got " -"fingerprint: %s" , hex_fp); +"certificate hash verification failed. (got certificate " +"fingerprint: %s)" , hex_fp); goto cleanup; } }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/546?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia73d53002f4ba2658af18c17cce1b68f79de5781
Gerrit-Change-Number: 546
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-CC: ordex <[email protected]...>
Gerrit-MessageType: newpatchset
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/546?usp=email )
Change subject: Add bracket in fingerprint message and do not warn about missing verification
......................................................................
Add bracket in fingerprint message and do not warn about missing verification
Github: fixes OpenVPN/openvpn#516
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg28474.html
---
M src/openvpn/init.c
M src/openvpn/ssl_verify.c
2 files changed, 4 insertions(+), 3 deletions(-)
src/openvpn/init.c +2 -1
@@ -3594,7 +3594,8 @@ && !o->tls_verify && o->verify_x509_type == VERIFY_X509_NONE && !(o->ns_cert_type & NS_CERT_CHECK_SERVER) - && !o->remote_cert_eku) + && !o->remote_cert_eku + && !(o->verify_hash_depth == 0 && o->verify_hash)) {msg (M_WARN ,"WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info." ); }
src/openvpn/ssl_verify.c +2 -2
@@ -718,8 +718,8 @@const char *hex_fp =format_hex_ex (BPTR (&cert_fp),BLEN (&cert_fp),0 ,1 ,":" , &gc);msg (D_TLS_ERRORS ,"TLS Error: --tls-verify/--peer-fingerprint" -"certificate hash verification failed. (got " -"fingerprint: %s" , hex_fp); +"certificate hash verification failed. (got certificate " +"fingerprint: %s)" , hex_fp); goto cleanup; } }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/546?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia73d53002f4ba2658af18c17cce1b68f79de5781
Gerrit-Change-Number: 546
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-CC: ordex <[email protected]...>
Gerrit-MessageType: merged